package cn.jly.boot.starter.bean;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author lanyangji
 * @description 作者信息配置类
 * @date 2020/12/11 下午 2:38
 */
@ConfigurationProperties(prefix = "author")
public class AuthorProperties {
    private static final String DEFAULT_NAME = "jilanyang";
    private static final String DEFAULT_MSG = "一个努力前行的人";

    private String name = DEFAULT_NAME;
    private String msg = DEFAULT_MSG;

    public AuthorProperties() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
